package com.cloudfast.platform.app;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cloudfast.entity.BaseEntity;
import com.cloudfast.repository.annotation.DeleteField;

import lombok.Getter;
import lombok.Setter;

@SuppressWarnings("serial")
@Entity
@Table(name = "sys_app_client")
@Getter
@Setter
public class AppClient extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 应用识别码
     */
    private String appName;

    /**
     * 应用识别码
     */
    private String appLabel;

    /**
     * 企业识别码
     */
    private String corpId;

    /**
     * ding: 钉钉; wechat: 微信
     */
    private String appType;

    /**
     * enterprise企业内,other: 第三方
     */
    private String appScope;

    /**
     * appKey
     */
    private String appKey;

    /**
     * app密码
     */
    private String appSecret;

    /**
     * app票据第三方
     */
    private String appTicket;

    /**
     * 逻辑删除
     */
    @DeleteField
    private String delFlag = "0";

    /**
     * 创建时间
     */
    private String createTime;

}
